export const faqColumns = [
    {
        key: 'index',
        title: '序号',
        width: 80,
        render: (h, params) => {
            return h('span', params.index + 1);
        }
    },
    {
        key: 'question',
        title: '问题'
    },
    {
        key: 'answer',
        title: '答案'
    },
    {
        title: '操作',
        align: 'center',
        width: 200,
        key: 'handle',
        handle: ['edit', 'delete']
    }
];

const tableData = {
    faqColumns
};

export default tableData;
